import request from "@/utils/request";

// 房企指数分析
export const getCorporateCreditRealEstateMetrics = (params: any) => {
    return request({
        url: "/screen/corporateCredit/realEstateMetrics",
        method: "post",
        data: params,
    });
};

// 开发商联想搜索-远程搜索
export const getCorporateCreditSearchDevelopers = (params: any) => {
    return request({
        url: "/screen/corporateCredit/searchDevelopers",
        method: "post",
        data: params,
    });
};

// 全省房企信用的异常统计
export const getCorporateCreditAbnormalCreditStats = (params: any) => {
    return request({
        url: "/screen/corporateCredit/abnormalCreditStats",
        method: "get",
        data: params,
    });
};

// 企业信用详情
export const getCorporateCreditCorporateCreditDetail = (params: any) => {
    return request({
        url: "/screen/corporateCredit/corporateCreditDetail",
        method: "post",
        data: params,
    });
};